.allgood{
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;

    p {
        text-align: center;
        font-size: 20px;
        font-weight: 700;
        height: 30px;
        margin: 6px 0 10px;
    }

    .inp {
        position: relative;
        margin: 6px 10px;

        input {
            outline: none;
            border: none;
            background-color: #f7f7f7;
            height: 30px;
            padding-left: 40px;
            width: 100%;
            box-sizing: border-box;
        }

        i {
            position: absolute;
            left: 10px;
            top: 20%;
            font-size: 18px;
            color: #a6a6a6;
        }
    }
    .good{
        width: 100%;
        overflow: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
        box-sizing: border-box;
        background-color: #f7f7f7;

        .good_item{
            width: 48%;
            margin-bottom: 6px;
            background-color: #fff;
            padding: 6px;
            box-sizing: border-box;
            border-radius: 4px;

            img{
                width: 100%;
            }
            .name{
                font-size: 14px;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
                margin-bottom: 8px;
            }
            .old_price{
                color: red;
                font-size: 12px;
            }
            .price{
                color: red;
            }

        }
    }
}